package cn.iocoder.yudao.module.iot.controller.admin.device.vo.device;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class IotDeviceThresholdReqVO {
    @Schema(description = "设备ID", required = true)
    @NotNull(message = "设备ID不能为空")
    private Long deviceId;

    @Schema(description = "阈值类型", example = "voltage")
    @NotNull(message = "阈值类型不能为空")
    private String thresholdType;

    @Schema(description = "阈值数值", example = "220.0")
    @NotNull(message = "阈值数值不能为空")
    private Double thresholdValue;
} 